<link rel="stylesheet" href="home/css/home.css">
<div class="home">
    <div class="header" ng-include="'./common/header.html'"></div>
    <hr>
    <ul class="acts-category">
        <li ng-repeat="item in goods">
            <div class="top">
                <span class="title" ng-style="{ borderColor:  '{{'#' + item.category_detail.category_color }}', color: '{{'#' + item.category_detail.category_color }}' }">{{ item.category_detail.name }}</span>
                <span class="more">更多</span>
            </div>
            <div class="img">
                <img ng-src="{{ item.activity.img }}" alt="">
            </div>
            <ul class="goods-list clear">
                <li ng-repeat="good in item.category_detail.goods">
                    <div class="good-img">
                        <img ng-src="{{ good.img }}" alt="">
                    </div>
                    <p class="good-name">{{ good.name }}</p>
                    <p>
                        <span class="jingxuan">精选</span>
                        <span class="sale" ng-if="good.pm_desc">{{ good.pm_desc }}</span>
                    </p>
                    <p class="weight">{{ good.specifics }}</p>
                    <p>
                        <span class="price">￥{{ good.price }}</span>
                        <span class="market-price" ng-if="good.price != good.market_price">￥{{ good.market_price }}</span>
                    </p>
                    <div class="btn">
                        <span></span>
                    </div>
                </li>
            </ul>
        </li>
    </ul>
</div>
